/*
  搜索请求相关模块
*/
import request from '@/utils/request'

// 获取搜索联想建议
export const geSearchSuggestions = q => {
  return request({
    method: 'GET',
    url: '/app/searchSuggestion',
    params: {
      q
    }
  })
}
// 获取搜索结果
export const getSearchResult = params => {
  return request({
    method: 'GET',
    url: '/app/searchResult',
    params
  })
}
